[#include "../../common/html.ftl" /]
[@html]
    [@head title="修改参数" css=["fw"] ]
        <link rel="stylesheet" href="${ctx}/bsa/framework/core/index/css/index4.css?v=205"/>
        <style>
            form .am-selected .am-selected-status{
                color: grey;
            }
        </style>
    [/@head]
    [@body]

        [#--页面内容--]
        <div class="fw-main">
            <div class="fw-forms">
                [#--页面头部--]
                [@mainHeader ldom="" rdom="" title="记录详情"/]

                [@dataForm formId="form-config-detail" readonly="true"]
                    <div class="am-form-group am-thumbnail am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <label for="doc-vld-configName-2-1">参数名称：</label>
                        <span></span>
                        <input type="text" class="am-form-field am-radius" name="configName" value="${config.configName}"  disabled/>
                    </div>
                    <div class="am-form-group am-thumbnail am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <label for="doc-vld-configKey-2-1">参数键名：</label>
                        <input type="text" class="am-form-field am-radius" name="configKey" value="${config.configKey}" disabled/>
                    </div>
                    <div class="am-form-group am-thumbnail am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <label for="doc-vld-configValue-2-1">参数键值：</label>
                        <input type="text" class="am-form-field am-radius" name="configValue" value="${config.configValue}" disabled/>
                    </div>
                    <div class="am-form-group am-thumbnail am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <label for="configType-select-1-1">系统内置：</label>
                        <input type="text" class="am-form-field am-radius" name="configType" value="${dict.getLabel("sys_yes_no", config.configType)}" disabled/>
                    </div>
                    <div class="am-form-group am-thumbnail am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <label for="doc-vld-remark-2-1">备注：</label>
                        <textarea class="am-radius" name="remark" disabled>${config.remark}</textarea>
                    </div>
                [/@dataForm]
            </div>
        </div>

        <!-- PC/APP 右侧悬浮按钮 -->
        [@rightToolbar /]


        [@script js=["fw"]]
            <script>
                $.AMUI.progress.start();
                $(function (){
                    setTimeout(function() {
                            $.AMUI.progress.done();
                        },
                        500);
                });
            </script>
            <script type="text/javascript">
                var prefix = ctx + "system/config";
            </script>
        [/@script]
    [/@body]
[/@html]